package com.android.delivery.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.RadioButton;
import android.widget.RadioGroup;

import com.ada.common.util.GsonUtil;
import com.blankj.utilcode.util.ActivityUtils;
import com.android.delivery.MainActivity;
import com.android.delivery.R;
import com.android.delivery.base.BaseActivity;
import com.google.gson.reflect.TypeToken;

import java.util.List;
import java.util.Map;

import butterknife.BindView;
import butterknife.OnClick;

public class FeedbackActivity extends BaseActivity {

    @BindView(R.id.rb_search)
    RadioButton mRbSearch;
    @BindView(R.id.rb_pay)
    RadioButton mRbPay;
    @BindView(R.id.rb_kf)
    RadioButton mRbKf;
    @BindView(R.id.rb_hyxg)
    RadioButton mRbHyxg;
    @BindView(R.id.rb_shouhou)
    RadioButton mRbShouhou;
    @BindView(R.id.rb_qita)
    RadioButton mRbQita;
    @BindView(R.id.sex_rg)
    RadioGroup mSexRg;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_feedback;
    }

    @Override
    protected void init(Bundle savedInstanceState, View container) {
        setMainTitle("意见反馈");

         List<Map<String, Object>> parseList = GsonUtil.parseList("", new TypeToken<List<Map<String, Object>>>() {}.getType());


    }

    @OnClick(R.id.confirm_tv)
    public void onViewClicked() {
        ActivityUtils.startActivity(MainActivity.class);
    }
}
